<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .img1{
            display: block;
            width: 100%;
            height: 88px;
        }
        .img2{
            cursor: pointer;
            position: absolute;
            right: 5px;
            top: 5px;
            width: 20px;
            height: 20px;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="/imge/luzhou.jpg" alt="" class="img1">
        <img src="/imge/close.jpg" alt="" class="img2">

    </div>
    <script>
        var img1 = document.querySelector('.img1');
        var img2 = document.querySelector('.img2');
        var box = document.querySelector('.box');
        img2.onclick = function(){
            box.style.display = 'none';
        }
    </script>
</body>
</html>